package com.im.entity.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * 用户密码修改 DTO
 */
@Data
public class UpdatePasswordDTO {

    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
